|
ARD2
1.00 for Rev B. Hardware
Airbag Reference Demonstrator using MPC5604P
|
FreeMASTER TSA implementation. More...
Functions | |
| void | FMSTR_InitTsa (void) |
| TSA Initialization. | |
| FMSTR_BPTR | FMSTR_GetTsaInfo (FMSTR_BPTR pMessageIO) |
| Handling GETTSAINFO and GETTSAINFO_EX command. | |
| FMSTR_BPTR | FMSTR_GetStringLen (FMSTR_BPTR pMessageIO) |
| Handling GETSTRLEN and GETSTRLEN_EX commands. | |
| FMSTR_BOOL | FMSTR_CheckTsaSpace (FMSTR_ADDR dwAddr, FMSTR_SIZE8 nSize, FMSTR_BOOL bWriteAccess) |
| Check wether given memory region is "safe" (covered by TSA) | |
FreeMASTER TSA implementation.
This file implements a new FreeMASTER feature called Targer-side address translation.
| FMSTR_BOOL FMSTR_CheckTsaSpace | ( | FMSTR_ADDR | dwAddr, |
| FMSTR_SIZE8 | nSize, | ||
| FMSTR_BOOL | bWriteAccess | ||
| ) |
Check wether given memory region is "safe" (covered by TSA)
| dwAddr | - address of the memory to be checked |
| nSize | - size of the memory to be checked |
| bWriteAccess | - write access is required |
| FMSTR_BPTR FMSTR_GetStringLen | ( | FMSTR_BPTR | pMessageIO | ) |
Handling GETSTRLEN and GETSTRLEN_EX commands.
| pMessageIO | - original command (in) and response buffer (out) |
| FMSTR_BPTR FMSTR_GetTsaInfo | ( | FMSTR_BPTR | pMessageIO | ) |
Handling GETTSAINFO and GETTSAINFO_EX command.
| pMessageIO | - original command (in) and response buffer (out) |